package cn.kgc.mybatis.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Student {

  private long id;
  private String stuNo;
  private String stuName;
  private String stuSex;
  private Date stuBirth;
  //一对一关联
  //private  Computer computer;
  //一对多关联
  // private List<Book> books;
  //多对多关联
  private List<Teacher> teachers;
}
